package com.loong.game2048.server;

import com.loong.game2048.module.Scope;
import com.loong.game2048.module.vo.ScopeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lyx
 * @date 2020/5/22 11:22
 */
public interface ScopeService {

    Integer scopeHasExit(String userId);

    Integer addScope(String userId,Integer gameId,Integer scope);

    Integer updateScope(String userId,Integer gameId,Integer scope);


    List<Scope> getAllScope();

    Integer getScope(String userId,Integer gameId);

    ScopeVo getScopeVo(String userId, Integer gameId);

}
